// Win32 Icon support
// Copyright 2006 (C) Ralph Thomas

#ifndef MISSION_TOOLKIT_WIN32_ICON_H
#define MISSION_TOOLKIT_WIN32_ICON_H

#include <toolkit/icon.h>
#include <windows.h>

namespace toolkit {
	//
	/// The Win32 icon class supports determining a file's icon
	/// by using the SHGetFileInfo call.
	//
	class iconWin32 : public icon {
	  public:
		enum iconSize {
			kSmall = 0,
			kRegular,
			kLarge
		};
		virtual ~iconWin32();
		//
		/// Return an icon handle for this icon.
		///
		/// \param	the size that the icon is going to be drawn in.
		/// \return	the icon handle for this icon.
		//
		virtual HICON get( iconSize size ) const = 0;
	};
};

#endif
